package com.gun.management.module.raffle.controller.admin.lotterylog.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 用户中奖日志新增/修改 Request VO")
@Data
public class LotteryLogSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20566")
    private Long id;

    @Schema(description = "用户id", example = "13101")
    private Long userId;

    @Schema(description = "抽奖id", example = "15477")
    private Long lotteryId;

    @Schema(description = "奖品id", example = "18176")
    private Long ruleId;

    @Schema(description = "已抽奖总次数")
    private Integer totalTimes;

    @Schema(description = "每人每天已抽奖次数")
    private Integer dayTotalTimes;

    @Schema(description = "消耗积分")
    private Integer expenseScore;

    @Schema(description = "抽奖时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "抽奖时间不能为空")
    private LocalDateTime lotteryTime;

    /**
     * 奖品状态(0:待领取 1：已领取未处理 2:处理成功 3:处理失败)
     */
    @Schema(description = "奖品状态")
    private Integer status;

    /**
     * 扩展信息
     */
    @Schema(description = "扩展信息")
    private String extJson;


    /**
     * 订单号码
     */
    @Schema(description = "订单号码")
    private String orderNo;

}